package com.crl.animation.pak
{
	import com.crl.animation.AbstractRender;
	import com.crl.animation.resource.PakResource;
	
	import flash.display.Graphics;
	
	import flashx.textLayout.formats.Direction;

	public class RenderDef
	{
		/**
		 * 当前帧索引; 
		 */		
		public var c:int;
		
		/**
		 * 下一帧索引; 
		 */		
		public var n:int;
		
		/**
		 * 时间 
		 */		
		public var t:int;
		
		public function RenderDef()
		{
		}
		
		public function render(g:Graphics,list:Vector.<PakResource>,direction:int,action:int,render:AbstractRender):void{
			
			for each(var item:PakResource in list){
				item.draw(g,direction,action,c);
			}
		}
	}
}